//
//  HYViewController.h
//  HaiYue
//
//  Created by skyline on 2017/12/15.
//  Copyright © 2017年 skyline. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger,HYViewNaviBarStyle)
{
    HYViewNaviBarStyleDefault = 1,//navibar没有任何按钮
    HYViewNaviBarStyleOnlyLeftBtn,//只有左边按钮
    HYViewNaviBarStyleOnlyRightBtn,//只有右边按钮
    HYViewNaviBarStyleLeftAndRightBtn,//左边和右边按钮
    HYViewNaviBarStyleSeg,//navibar中间有segment选择器
    HYViewNaviBarStyleSearch//navibar中间有searchBar
};
@interface HYViewController : UIViewController
@property (nonatomic, assign) HYViewNaviBarStyle style;
@property (nonatomic, strong) UIButton *leftNaviBarBtn;
@property (nonatomic, strong) UIButton *rightNaviBarBtn;
@property (nonatomic, strong) HYSeg *segNaviBar;
@property (nonatomic, strong) HYTextField *search;
@property (nonatomic, strong) HYLabel *centerTipsLBL;
@property (nonatomic, strong) UIScrollView *scrollView;
//@property (nonatomic, assign) NSInteger currentIndex;

/**
 *@pragma 导航栏右边的方法
 */
- (void)actionForRightNaviBar;
/**
 *@pragma start hud
 */
- (void)startHUD;
/**
 *@pragma end hud
 */
- (void)endHUD;


@end
